package org.bjou

class Assign {

    //课程名称*
    String courseName
     //专业层次 *	开专/开本
    String majorLevel
    
    
    //课程类型 统设/非统设
    String courseType

    //课程性质 必修/必修（省）/选修
    String courseProperty
    
   //考试单位类型	* 中央/省
    String examType
    
    //轮次
    String round
    
     //当前学期
    String currentTerm
    
    String assignDscp
    
     Date dateCreated
     Date lastUpdated
    
    static belongsTo = [userBaseinfo: UserBaseinfo,department: Department] 
    
    
   static constraints = {
          assignDscp(nullable: true, blank: true)
          courseName(nullable: true, blank: true)
          majorLevel(nullable: true, blank: true)
          courseType(nullable: true, blank: true)
          courseProperty(nullable: true, blank: true)
          examType(nullable: true, blank: true)
          currentTerm(nullable: true, blank: true)
          userBaseinfo(nullable: true, blank: true)
          department(nullable: true, blank: true)
          
    }
}
